package com.hontech.bv.ui

import android.annotation.SuppressLint
import android.os.Bundle
import com.hontech.bv.R
import com.hontech.bv.app.Init


class MainActivity : AutoHideKeyActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        initUi()
    }

    override fun onWindowFocusChanged(hasFocus: Boolean) {
        super.onWindowFocusChanged(hasFocus)
        if (hasFocus) {
            Init.onUiInitComplete()
        }
    }

    private fun initUi() {
        FgRouter(this)
    }


    @SuppressLint("MissingSuperCall")
    override fun onSaveInstanceState(outState: Bundle) {}

}


